home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
basic
/
qbfaqr01.zip
/
ERRLEV2.BAS
< prev
next >
Wrap
BASIC Source File
|
1992-08-10
|
314b
|
11 lines
FUNCTION ErrorLevel% ()
'Purpose : To check the error level of a program returning from shell
'Input : none (well, helps if you did shell a program first)
'Return : The errorlevel returned from the last shelled program
DEF SEG = 0
ErrorLevel% = PEEK(&H4FE)
DEF SEG
END FUNCTION